import Layout from '@/views/layout/frame/Layout.vue'

export default [
  // 组态管理
  {
    path: '/pipeLine',
    component: Layout,
    hidden: false,
    meta: {
      title: '管道管理',
      icon: 'iconfont icon-zutai',
      roles: ['CUSTOMER_USER', 'TENANT_ADMIN', 'SYS_ADMIN']
    },
    children: [
      {
        path: 'info',
        name: 'pipeInfo',
        component: () => import('@/views/pipeLineManage/pipeInfo.vue'),
        meta: {
          title: '管道信息',
          icon: 'iconfont icon-zutai',
          roles: ['CUSTOMER_USER', 'TENANT_ADMIN', 'SYS_ADMIN']
        }
      },
      {
        path: 'node',
        name: 'pipeNode',
        component: () => import('@/views/pipeLineManage/pipeNode.vue'),
        meta: {
          title: '管道节点',
          icon: 'iconfont icon-zutai',
          roles: ['CUSTOMER_USER', 'TENANT_ADMIN', 'SYS_ADMIN']
        }
      },
      {
        path: 'valve',
        name: 'valveManage',
        component: () => import('@/views/pipeLineManage/valve.vue'),
        meta: {
          title: '阀门管理',
          icon: 'iconfont icon-zutai',
          roles: ['CUSTOMER_USER', 'TENANT_ADMIN', 'SYS_ADMIN']
        }
      }
    ]
  }
]
